Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Whats the difference between a NumberValue and an IntValue?

Asked by 10 years ago

Whats the difference between a NumberValue and an IntValue?

0
An IntValue can't hold decimals whereas a NumberValue can. Thewsomeguy 448 — 10y

1 answer

Log in to vote
7
Answered by
Sublimus 992 Moderation Voter
10 years ago

Integer values are whole numbers:

IntValue (Object)

Number values are doubles (decimals):

NumberValue (Object)

Ad

Answer this question